package com.cx.vo.wjr;

import com.jptangchina.jxcel.annotation.JxcelCell;
import com.jptangchina.jxcel.annotation.JxcelSheet;

@JxcelSheet("sdkd")
public class Receive {
    @JxcelCell("收件人姓名")
    private String receiveName;
    @JxcelCell("收件人手机")
    private String receivePhone;
    @JxcelCell("省市区")
    private String receiveAddress;
    @JxcelCell("物品名称")
    private String pageType;
    @JxcelCell("重量")
    private String weight;

    public boolean isNull(){
        if(receiveName == null || receivePhone == null || receiveAddress == null || pageType == null || weight == null){
            return false;
        }
        return true;
    }

    @Override
    public String toString() {
        return "Receive{" +
                "receiveName='" + receiveName + '\'' +
                ", receivePhone='" + receivePhone + '\'' +
                ", receiveAddress='" + receiveAddress + '\'' +
                ", pageType='" + pageType + '\'' +
                ", weight='" + weight + '\'' +
                '}';
    }

    public String getReceiveName() {
        return receiveName;
    }

    public void setReceiveName(String receiveName) {
        this.receiveName = receiveName;
    }

    public String getReceivePhone() {
        return receivePhone;
    }

    public void setReceivePhone(String receivePhone) {
        this.receivePhone = receivePhone;
    }

    public String getReceiveAddress() {
        return receiveAddress;
    }

    public void setReceiveAddress(String receiveAddress) {
        this.receiveAddress = receiveAddress;
    }

    public String getPageType() {
        return pageType;
    }

    public void setPageType(String pageType) {
        this.pageType = pageType;
    }

    public String getWeight() {
        return weight;
    }

    public void setWeight(String weight) {
        this.weight = weight;
    }
}
